public class 鸡 {
    public static void main(String[] args) {
        for (int i = 0; i <= 20 ; i++) {
            for(int j = 0; j <= 33 ; j++){
                if(i*5+j*3+(100-i-j)/3==100 & (100-i-j)%3==0){
                    System.out.println(i+","+j+","+(100-i-j));
                }
            }
        }
    }
}
